package com.example.forecastweather;

public class Weather {
	public Location location;
	public Condition current;
	public Temp temp;
	public Wind wind;

	public Clouds clouds;

	public byte[] iconData;


	public class Condition {
		private int id;
		private String main;
		private String descr;
		private String icon;

		private double humidity;
		private double pressure;

		public int getId() {
			return id;
		}

		public void setId(int id) {
			this.id = id;
		}

		public String getMain() {
			return main;
		}

		public void setMain(String main) {
			this.main = main;
		}

		public String getDescr() {
			return descr;
		}

		public void setDescr(String descr) {
			this.descr = descr;
		}

		public String getIcon() {
			return icon;
		}

		public void setIcon(String icon) {
			this.icon = icon;
		}

		public double getHumidity() {
			return humidity;
		}

		public void setHumidity(double humidity) {
			this.humidity = humidity;
		}

		public double getPressure() {
			return pressure;
		}

		public void setPressure(double pressure) {
			this.pressure = pressure;
		}

	}

	public class Temp {
		private double temp;
		private double min;
		private double max;

		public double getTemp() {
			return temp;
		}

		public void setTemp(double temp) {
			this.temp = temp;
		}

		public double getMin() {
			return min;
		}

		public void setMin(double min) {
			this.min = min;
		}

		public double getMax() {
			return max;
		}

		public void setMax(double max) {
			this.max = max;
		}

	}

	public class Wind {
		private double speed;
		private double deg;

		public double getSpeed() {
			return speed;
		}

		public void setSpeed(double speed) {
			this.speed = speed;
		}

		public double getDeg() {
			return deg;
		}

		public void setDeg(double deg) {
			this.deg = deg;
		}

	}

	public class Clouds {
		private double perc;

		public double getPerc() {
			return perc;
		}

		public void setPerc(double perc) {
			this.perc = perc;
		}

	}
}
